package io;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream file = new FileInputStream("String.png");
        int d; //读取字节个数
        while ((d = file.read())!=-1){
            System.out.println(d);//获取该文件中每个字节的值
        }
        file.close();
    }
}
